inherited frmExtendedRstAbonentsFilter: TfrmExtendedRstAbonentsFilter
  Left = 689
  Top = 365
  VertScrollBar.Range = 0
  AutoSize = True
  BorderStyle = bsDialog
  Caption = #1060#1080#1083#1100#1090#1088' '#1088#1072#1089#1096#1080#1088#1077#1085#1085#1086#1075#1086' '#1087#1086#1080#1089#1082#1072
  ClientHeight = 495
  ClientWidth = 448
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel1: TPanel
    Top = 468
    Width = 448
    Align = alTop
    inherited BitBtn1: TBitBtn
      Left = 141
      ModalResult = 1
      ParentShowHint = False
      ShowHint = True
    end
    inherited BitBtn2: TBitBtn
      Left = 343
      Hint = #1054#1095#1080#1089#1090#1080#1090#1100' '#1080' '#1074#1099#1081#1090#1080
      ModalResult = 2
      ParentShowHint = False
      ShowHint = True
    end
    object BitBtn3: TBitBtn
      Left = 242
      Top = 1
      Width = 97
      Height = 25
      Action = aClear
      Anchors = [akTop, akRight]
      Caption = #1054#1095#1080#1089#1090#1080#1090#1100
      ParentShowHint = False
      ShowHint = True
      TabOrder = 2
    end
  end
  inherited ToolBar1: TToolBar
    Top = 495
    Width = 448
    Height = 0
    Enabled = False
    inherited ToolButton1: TToolButton
      Enabled = False
    end
    inherited ToolButton2: TToolButton
      Enabled = False
    end
    inherited ToolButton3: TToolButton
      Enabled = False
    end
    inherited ToolButton4: TToolButton
      Enabled = False
    end
  end
  object Panel2: TPanel [2]
    Left = 0
    Top = 0
    Width = 448
    Height = 468
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 2
    object Label1: TLabel
      Left = 311
      Top = 111
      Width = 12
      Height = 13
      Caption = #1076#1086
    end
    object Label2: TLabel
      Left = 159
      Top = 111
      Width = 11
      Height = 13
      Caption = #1086#1090
    end
    object cbPhone: TDBCheckBoxEh
      Left = 24
      Top = 8
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #8470' '#1090#1077#1083#1077#1092#1086#1085#1072
      Flat = True
      TabOrder = 0
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbPhoneClick
    end
    object cbTenFIO: TDBCheckBoxEh
      Left = 24
      Top = 28
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1060#1048#1054' '#1078#1080#1083#1100#1094#1072
      Flat = True
      TabOrder = 2
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbTenFIOClick
    end
    object cbTenCnt: TDBCheckBoxEh
      Left = 24
      Top = 68
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1050#1086#1083'-'#1074#1086' '#1078#1080#1083#1100#1094#1086#1074
      Flat = True
      TabOrder = 4
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbTenCntClick
    end
    object cbExCnt: TDBCheckBoxEh
      Left = 24
      Top = 88
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1050#1086#1083'-'#1074#1086' '#1083#1100#1075#1086#1090#1085#1080#1082#1086#1074
      Flat = True
      TabOrder = 6
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbExCntClick
    end
    object cbSaldo: TDBCheckBoxEh
      Left = 24
      Top = 108
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1057#1072#1083#1100#1076#1086
      Flat = True
      TabOrder = 8
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbSaldoClick
    end
    object cbSrvGroup: TDBCheckBoxEh
      Left = 24
      Top = 128
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1043#1088#1091#1087#1087#1072' '#1091#1089#1083#1091#1075
      Flat = True
      TabOrder = 11
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbSrvGroupClick
    end
    object cbAbonentId: TDBCheckBoxEh
      Left = 24
      Top = 248
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1048#1044' '#1072#1073#1086#1085#1077#1085#1090#1072
      Flat = True
      TabOrder = 24
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbAbonentIdClick
    end
    object cbSupplierDept: TDBCheckBoxEh
      Left = 24
      Top = 208
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1059#1095#1072#1089#1090#1086#1082' '#1087#1086#1089#1090#1072#1074#1097#1080#1082#1072
      Enabled = False
      Flat = True
      TabOrder = 19
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbSupplierDeptClick
    end
    object cbIsActive: TDBCheckBoxEh
      Left = 24
      Top = 228
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1040#1082#1090#1080#1074#1085#1086#1089#1090#1100' '#1076#1086#1075#1086#1074#1086#1088#1072
      Flat = True
      TabOrder = 21
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbIsActiveClick
    end
    object cbDogovorId: TDBCheckBoxEh
      Left = 24
      Top = 268
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1048#1044' '#1076#1086#1075#1086#1074#1086#1088#1072
      Flat = True
      TabOrder = 26
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbDogovorIdClick
    end
    object cbService: TDBCheckBoxEh
      Left = 24
      Top = 148
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1059#1089#1083#1091#1075#1072
      Enabled = False
      Flat = True
      TabOrder = 13
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbServiceClick
    end
    object cbManag: TDBCheckBoxEh
      Left = 24
      Top = 168
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1046#1080#1083#1080#1097#1085#1072#1103' '#1086#1088#1075'.'
      Flat = True
      TabOrder = 15
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbManagClick
    end
    object cbSupplier: TDBCheckBoxEh
      Left = 24
      Top = 188
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1055#1086#1089#1090#1072#1074#1097#1080#1082
      Flat = True
      TabOrder = 17
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbSupplierClick
    end
    object dbePhone: TDBEditEh
      Left = 160
      Top = 8
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      EditButtons = <>
      Enabled = False
      Flat = True
      TabOrder = 1
      Visible = True
    end
    object dbeTenFIO: TDBEditEh
      Left = 160
      Top = 28
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      EditButtons = <>
      Enabled = False
      Flat = True
      TabOrder = 3
      Visible = True
    end
    object dbeTenCnt: TDBNumberEditEh
      Left = 160
      Top = 68
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      DecimalPlaces = 0
      Enabled = False
      EditButtons = <>
      Flat = True
      MaxValue = 100.000000000000000000
      TabOrder = 5
      Visible = True
    end
    object dbeExCnt: TDBNumberEditEh
      Left = 160
      Top = 88
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      DecimalPlaces = 0
      Enabled = False
      EditButtons = <>
      Flat = True
      MaxValue = 100.000000000000000000
      TabOrder = 7
      Visible = True
    end
    object dbeSaldoMin: TDBNumberEditEh
      Left = 177
      Top = 108
      Width = 108
      Height = 19
      AlwaysShowBorder = True
      currency = False
      DisplayFormat = '######0.00'
      Enabled = False
      EditButtons = <>
      Flat = True
      TabOrder = 9
      Visible = True
    end
    object lcbSrvGroup: TDBLookupComboboxEh
      Left = 160
      Top = 128
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      Enabled = False
      EditButtons = <>
      Flat = True
      KeyField = 'ID'
      ListField = 'NAME'
      ListSource = dsc_SrvGroup
      TabOrder = 12
      Visible = True
      OnChange = lcbSrvGroupChange
    end
    object lcbService: TDBLookupComboboxEh
      Left = 160
      Top = 148
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      Enabled = False
      EditButtons = <>
      Flat = True
      KeyField = 'ID'
      ListField = 'NAME'
      ListSource = dsc_Service
      TabOrder = 14
      Visible = True
    end
    object lcbManag: TDBLookupComboboxEh
      Left = 160
      Top = 168
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      Enabled = False
      EditButtons = <>
      Flat = True
      KeyField = 'ID'
      ListField = 'MANAG'
      ListSource = dsc_Manag
      TabOrder = 16
      Visible = True
    end
    object lcbSupplier: TDBLookupComboboxEh
      Left = 160
      Top = 188
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      Enabled = False
      EditButtons = <>
      Flat = True
      KeyField = 'ID'
      ListField = 'NAME'
      ListSource = dsc_Supplier
      TabOrder = 18
      Visible = True
      OnChange = lcbSupplierChange
    end
    object lcbSupplierDept: TDBLookupComboboxEh
      Left = 160
      Top = 208
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      Enabled = False
      EditButtons = <>
      Flat = True
      KeyField = 'ID'
      ListField = 'NAME'
      ListSource = dsc_SupplierDept
      TabOrder = 20
      Visible = True
    end
    object cbDogIsActive: TDBCheckBoxEh
      Left = 160
      Top = 228
      Width = 69
      Height = 17
      AlwaysShowBorder = True
      Caption = #1040#1082#1090#1080#1074#1077#1085
      Enabled = False
      Flat = True
      TabOrder = 22
      ValueChecked = '1'
      ValueUnchecked = '0'
      OnClick = cbDogIsActiveClick
    end
    object cbDogIsNotActive: TDBCheckBoxEh
      Left = 252
      Top = 228
      Width = 69
      Height = 17
      AlwaysShowBorder = True
      Caption = #1047#1072#1082#1088#1099#1090
      Enabled = False
      Flat = True
      TabOrder = 23
      ValueChecked = '0'
      ValueUnchecked = '1'
      OnClick = cbDogIsNotActiveClick
    end
    object dbeAbonentID: TDBNumberEditEh
      Left = 160
      Top = 248
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      DecimalPlaces = 0
      Enabled = False
      EditButtons = <>
      Flat = True
      MinValue = 1.000000000000000000
      TabOrder = 25
      Visible = True
    end
    object dbeDogovorID: TDBNumberEditEh
      Left = 160
      Top = 268
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      DecimalPlaces = 0
      Enabled = False
      EditButtons = <>
      Flat = True
      MinValue = 1.000000000000000000
      TabOrder = 27
      Visible = True
    end
    object dbeSaldoMax: TDBNumberEditEh
      Left = 332
      Top = 108
      Width = 108
      Height = 19
      AlwaysShowBorder = True
      DisplayFormat = '######0.00'
      Enabled = False
      EditButtons = <>
      Flat = True
      TabOrder = 10
      Visible = True
    end
    object cbDoorway: TDBCheckBoxEh
      Left = 24
      Top = 308
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1055#1086#1076#1098#1077#1079#1076' '#8470
      Flat = True
      TabOrder = 30
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbDoorwayClick
    end
    object dbeDoorway: TDBNumberEditEh
      Left = 160
      Top = 308
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      DecimalPlaces = 0
      Enabled = False
      EditButtons = <>
      Flat = True
      MinValue = 1.000000000000000000
      TabOrder = 31
      Visible = True
    end
    object cbMeter: TDBCheckBoxEh
      Left = 24
      Top = 368
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1053#1072#1083#1080#1095#1080#1077' '#1089#1095#1077#1090#1095#1080#1082#1072
      Enabled = False
      Flat = True
      TabOrder = 36
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbMeterClick
    end
    object cbMeterExist: TDBCheckBoxEh
      Left = 160
      Top = 368
      Width = 85
      Height = 17
      AlwaysShowBorder = True
      Caption = #1059#1089#1090#1072#1085#1086#1074#1083#1077#1085
      Enabled = False
      Flat = True
      TabOrder = 37
      ValueChecked = '1'
      ValueUnchecked = '0'
      OnClick = cbMeterExistClick
    end
    object cbMeterNotExist: TDBCheckBoxEh
      Left = 252
      Top = 368
      Width = 93
      Height = 17
      AlwaysShowBorder = True
      Caption = #1054#1090#1089#1091#1090#1089#1090#1074#1091#1077#1090
      Enabled = False
      Flat = True
      TabOrder = 38
      ValueChecked = '0'
      ValueUnchecked = '1'
      OnClick = cbMeterNotExistClick
    end
    object gbMeterPeriod: TGroupBox
      Left = 160
      Top = 388
      Width = 280
      Height = 65
      Caption = ' '#1055#1077#1088#1080#1086#1076' '
      TabOrder = 39
      object Label3: TLabel
        Left = 170
        Top = 36
        Width = 12
        Height = 13
        Caption = #1087#1086
      end
      object rbMeterCurrent: TRadioButton
        Left = 12
        Top = 16
        Width = 133
        Height = 17
        Caption = #1053#1072' '#1090#1077#1082#1091#1097#1080#1081' '#1084#1086#1084#1077#1085#1090
        Checked = True
        Enabled = False
        TabOrder = 0
        TabStop = True
        OnClick = rbMeterPeriodClick
      end
      object rbMeterPeriod: TRadioButton
        Left = 12
        Top = 36
        Width = 81
        Height = 17
        Caption = #1042' '#1087#1077#1088#1080#1086#1076' '#1089
        Enabled = False
        TabOrder = 1
        OnClick = rbMeterPeriodClick
      end
      object dbtMeterBdate: TDBDateTimeEditEh
        Left = 92
        Top = 34
        Width = 73
        Height = 19
        AlwaysShowBorder = True
        Enabled = False
        EditButtons = <>
        Flat = True
        Kind = dtkDateEh
        TabOrder = 2
        Visible = True
      end
      object dbtMeterEdate: TDBDateTimeEditEh
        Left = 188
        Top = 34
        Width = 73
        Height = 19
        AlwaysShowBorder = True
        Enabled = False
        EditButtons = <>
        Flat = True
        Kind = dtkDateEh
        TabOrder = 3
        Visible = True
      end
    end
    object cbFloor: TDBCheckBoxEh
      Left = 24
      Top = 328
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1069#1090#1072#1078' '#8470
      Flat = True
      TabOrder = 32
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbFloorClick
    end
    object dbeFloor: TDBNumberEditEh
      Left = 160
      Top = 328
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      DecimalPlaces = 0
      Enabled = False
      EditButtons = <>
      Flat = True
      MinValue = 1.000000000000000000
      TabOrder = 33
      Visible = True
    end
    object cbOwnerFIO: TDBCheckBoxEh
      Left = 24
      Top = 48
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1060#1048#1054' '#1089#1086#1073#1089#1090#1074#1077#1085#1085#1080#1082#1072
      Flat = True
      TabOrder = 40
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbOwnerFIOClick
    end
    object dbeOwnerFIO: TDBEditEh
      Left = 160
      Top = 48
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      EditButtons = <>
      Enabled = False
      Flat = True
      TabOrder = 41
      Visible = True
    end
    object cbAccpointId: TDBCheckBoxEh
      Left = 24
      Top = 288
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1048#1044' '#1058#1059
      Flat = True
      TabOrder = 28
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbAccpointIdClick
    end
    object dbeAccpointID: TDBNumberEditEh
      Left = 160
      Top = 288
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      DecimalPlaces = 0
      Enabled = False
      EditButtons = <>
      Flat = True
      MinValue = 1.000000000000000000
      TabOrder = 29
      Visible = True
    end
    object cbMeterId: TDBCheckBoxEh
      Left = 24
      Top = 348
      Width = 130
      Height = 17
      AlwaysShowBorder = True
      Caption = #1048#1044' '#1089#1095#1077#1090#1095#1080#1082#1072
      Flat = True
      TabOrder = 34
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnClick = cbMeterIdClick
    end
    object dbeMeterID: TDBNumberEditEh
      Left = 160
      Top = 348
      Width = 280
      Height = 19
      AlwaysShowBorder = True
      DecimalPlaces = 0
      Enabled = False
      EditButtons = <>
      Flat = True
      MinValue = 1.000000000000000000
      TabOrder = 35
      Visible = True
    end
  end
  inherited ActionList1: TActionList
    Left = 76
    Top = 4
    inherited aSave: TAction
      OnExecute = aSaveExecute
    end
    inherited aCancel: TAction
      OnExecute = aCancelExecute
    end
    object aClear: TAction
      Caption = #1054#1095#1080#1089#1090#1080#1090#1100
      Hint = #1057#1073#1088#1086#1089#1080#1090#1100' '#1074#1089#1077' '#1087#1072#1088#1072#1084#1077#1090#1088#1099' '#1087#1086#1080#1089#1082#1072
      OnExecute = aClearExecute
    end
  end
  inherited PropStorage: TPropStorageEh
    StoredProps.Strings = (
      '<P>.Left'
      '<P>.Top'
      '<P>.WindowState')
    Left = 108
    Top = 4
  end
  object dsc_SrvGroup: TDataSource
    DataSet = ds_SrvGroup
    Left = 180
    Top = 100
  end
  object ds_SrvGroup: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT'
      '    ID,'
      '    NAME'
      'FROM'
      '    SERVICES '
      'where group_id = 0'
      'order by 2')
    Transaction = LocalTrans
    Database = MAINDM.pMainDatabase
    Left = 212
    Top = 100
    object ds_SrvGroupID: TFIBIntegerField
      FieldName = 'ID'
    end
    object ds_SrvGroupNAME: TFIBStringField
      FieldName = 'NAME'
      Size = 120
      EmptyStrToNull = True
    end
  end
  object LocalTrans: TpFIBTransaction
    DefaultDatabase = MAINDM.pMainDatabase
    TimeoutAction = TARollback
    Left = 212
    Top = 68
  end
  object ds_Service: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT'
      '    ID,'
      '    NAME'
      'FROM'
      '    SERVICES '
      'where group_id = :pgroup_id'
      'order by 2')
    Transaction = LocalTrans
    Database = MAINDM.pMainDatabase
    Left = 296
    Top = 120
    object ds_ServiceID: TFIBIntegerField
      FieldName = 'ID'
    end
    object ds_ServiceNAME: TFIBStringField
      FieldName = 'NAME'
      Size = 120
      EmptyStrToNull = True
    end
  end
  object dsc_Service: TDataSource
    DataSet = ds_Service
    Left = 264
    Top = 120
  end
  object dsc_Manag: TDataSource
    DataSet = ds_Manag
    Left = 180
    Top = 140
  end
  object ds_Manag: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT'
      '    ID,'
      '    MANAG'
      'FROM'
      '    RMANAG r'
      'where exists(select 1 from dogovors d where d.manag_id = r.id)'
      'order by 2')
    Transaction = LocalTrans
    Database = MAINDM.pMainDatabase
    Left = 212
    Top = 140
    object ds_ManagID: TFIBIntegerField
      FieldName = 'ID'
    end
    object ds_ManagMANAG: TFIBStringField
      FieldName = 'MANAG'
      Size = 60
      EmptyStrToNull = True
    end
  end
  object dsc_Supplier: TDataSource
    DataSet = ds_Supplier
    Left = 264
    Top = 160
  end
  object ds_Supplier: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT'
      '    ID,'
      '    NAME'
      'FROM'
      '    V_SUPPLIER r'
      
        'where exists(select 1 from dogovors d where d.supplier_id = r.id' +
        ')'
      'order by 2')
    Transaction = LocalTrans
    Database = MAINDM.pMainDatabase
    Left = 296
    Top = 160
  end
  object dsc_SupplierDept: TDataSource
    DataSet = ds_SupplierDept
    Left = 180
    Top = 180
  end
  object ds_SupplierDept: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT'
      '    ID,'
      '    NAME'
      'FROM'
      '    RSUPPLIER_DEPS r'
      'where SUPPLIER_ID = :psupplier_id'
      
        '  and exists(select 1 from dogovors d where d.supplier_dept = r.' +
        'id)'
      'order by 2')
    Transaction = LocalTrans
    Database = MAINDM.pMainDatabase
    Left = 212
    Top = 180
  end
end
